package com.ruoyi.approval.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 审批请求对象 a_approval_requests
 *
 * @author ruoyi
 * @date 2025-04-02
 */
public class AApprovalRequests extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 审批请求ID */
    @Excel(name = "审批请求ID")
    private String approvalRequestsId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String vehiclePlate;

    /** 请求信息 */
    @Excel(name = "请求信息")
    private String requestInfo;

    /** 请求日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请求日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String requestDate;

    /** 审批日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String approvalDate;

    /** 审批结果 */
    @Excel(name = "审批结果")
    private Long approvalResult;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String rejectionReason;

    /** 请求者ID */
    @Excel(name = "请求者ID")
    private Long requesterId;

    /** 请求者姓名 */
    @Excel(name = "请求者姓名")
    private String requesterName;

    /** 审批者ID */
    @Excel(name = "审批者ID")
    private Long approverId;

    /** 审批者姓名 */
    @Excel(name = "审批者姓名")
    private String approverName;

    /** 地点 */
    @Excel(name = "地点")
    private String location;

    /** 驾驶员姓名 */
    @Excel(name = "驾驶员姓名")
    private String driver;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setApprovalRequestsId(String approvalRequestsId)
    {
        this.approvalRequestsId = approvalRequestsId;
    }

    public String getApprovalRequestsId()
    {
        return approvalRequestsId;
    }

    public void setVehicleId(Long vehicleId)
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId()
    {
        return vehicleId;
    }

    public void setVehiclePlate(String vehiclePlate)
    {
        this.vehiclePlate = vehiclePlate;
    }

    public String getVehiclePlate()
    {
        return vehiclePlate;
    }

    public void setRequestInfo(String requestInfo)
    {
        this.requestInfo = requestInfo;
    }

    public String getRequestInfo()
    {
        return requestInfo;
    }

    public void setRequestDate(String requestDate)
    {
        this.requestDate = requestDate;
    }

    public String getRequestDate()
    {
        return requestDate;
    }

    public void setApprovalDate(String approvalDate)
    {
        this.approvalDate = approvalDate;
    }

    public String getApprovalDate()
    {
        return approvalDate;
    }

    public void setApprovalResult(Long approvalResult)
    {
        this.approvalResult = approvalResult;
    }

    public Long getApprovalResult()
    {
        return approvalResult;
    }

    public void setRejectionReason(String rejectionReason)
    {
        this.rejectionReason = rejectionReason;
    }

    public String getRejectionReason()
    {
        return rejectionReason;
    }

    public void setRequesterId(Long requesterId)
    {
        this.requesterId = requesterId;
    }

    public Long getRequesterId()
    {
        return requesterId;
    }

    public void setRequesterName(String requesterName)
    {
        this.requesterName = requesterName;
    }

    public String getRequesterName()
    {
        return requesterName;
    }

    public void setApproverId(Long approverId)
    {
        this.approverId = approverId;
    }

    public Long getApproverId()
    {
        return approverId;
    }

    public void setApproverName(String approverName)
    {
        this.approverName = approverName;
    }

    public String getApproverName()
    {
        return approverName;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }

    public void setDriver(String driver)
    {
        this.driver = driver;
    }

    public String getDriver()
    {
        return driver;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("approvalRequestsId", getApprovalRequestsId())
            .append("vehicleId", getVehicleId())
            .append("vehiclePlate", getVehiclePlate())
            .append("requestInfo", getRequestInfo())
            .append("requestDate", getRequestDate())
            .append("approvalDate", getApprovalDate())
            .append("approvalResult", getApprovalResult())
            .append("rejectionReason", getRejectionReason())
            .append("requesterId", getRequesterId())
            .append("requesterName", getRequesterName())
            .append("approverId", getApproverId())
            .append("approverName", getApproverName())
            .append("location", getLocation())
            .append("driver", getDriver())
            .toString();
    }
}
